package com.yxw.live_vod_boot.controller;


/*
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.yxw.live_vod_boot.utils.PageUtils;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.Api;
import com.yxw.live_vod_facade.dto.YxLiveShopReportDTO;
import com.yxw.live_vod_boot.dto.LiveShopReporAddtDTO;
import com.yxw.live_vod_facade.dto.LiveShopReporManagerQueryDTO;
import com.yxw.live_vod_boot.dto.LiveShopReporUserQueryDTO;
import com.yxw.live_vod_boot.entity.YxLiveShopReportEntity;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.multipart.MultipartFile; 
import io.swagger.annotations.ApiImplicitParams; 
import io.swagger.annotations.ApiImplicitParam;
*/
import org.springframework.beans.factory.annotation.Autowired;
import com.yxw.live_vod_boot.service.IYxLiveShopReportService;
/*** 
*@author Jiaxu.Huang
*@date 2023/12/8 16:31:49
*@update 2023/12/8 16:31:49

@Api(value = "店铺被举报表", tags = {"店铺被举报表管理"},description="店铺被举报表管理")
@RestController
@RequestMapping("/api/live/yxliveshopreport")
**/
public class LiveShopReportController
{
    @Autowired
    private IYxLiveShopReportService oYxLiveShopReportService;
    /*** 
    * 用户举报店铺直播
    * @param oYxLiveShopReportDTO
    * @return BaseResult
    
    @ApiOperation(value ="用户举报店铺直播", notes = "此接口用于用户举报店铺直播")
    @ApiResponses({@ApiResponse(code = 200,message = "OK",response = YxLiveShopReportEntity.class),})
    @ApiImplicitParams({         
            @ApiImplicitParam(paramType = "multipart/form-data",name = "accusationPicture", value = "举报图片", dataType = "__file")
    })//, required = true
    @PostMapping("/userReportShopLive")
    public BaseResult addYxLiveShopReport(HttpServletRequest httpRequest,@RequestParam("accusationPicture") MultipartFile accusationPicture,@RequestBody @Valid LiveShopReporAddtDTO oLiveShopReporAddtDTO)
    {
        return oYxLiveShopReportService.insertYxLiveShopReport(httpRequest,accusationPicture,oLiveShopReporAddtDTO);
    }
**/
    /*** 
    * 删除店铺被举报表
    * @param id
    * @param oYxLiveShopReportDTO
    * @return BaseResult

    @ApiOperation(value ="删除店铺被举报表YxLiveShopReport",notes = "此接口用于删除店铺被举报表信息")
    @ApiResponses({@ApiResponse(code = 200,message = "OK",response = BaseResult.class),})
    @GetMapping("/removeYxLiveShopReport/{id}")
    public BaseResult removeYxLiveShopReport(@PathVariable @NotNull(message = "id不能为空")Long id)
    {
            return oYxLiveShopReportService.deleteYxLiveShopReportById(id);
    }
   **/
    /*** 
    * 根据id查找店铺被举报表
    * @param id
    * @param oYxLiveShopReportDTO
    * @return YxLiveShopReportEntity
   
    @ApiOperation(value ="根据id查找店铺被举报表",notes = "此接口用于根据id查找店铺被举报表信息")
    @ApiResponses({@ApiResponse(code = 200,message = "OK",response = YxLiveShopReportEntity.class),})
    @GetMapping("/getYxLiveShopReportInfo/{id}")
    public BaseResult getYxLiveShopReportInfo(HttpServletRequest httpRequest,@PathVariable @NotNull(message = "id不能为空")Long id,@RequestBody @Valid YxLiveShopReportDTO oYxLiveShopReportDTO)
    {
        return BaseResult.success(oYxLiveShopReportService.selectYxLiveShopReportById(httpRequest,id));
    }
     **/
    /*** 
    * 管理员查询店铺被举报记录
    * @param currentPage 当前页
    * @param pageSize 分页大小
    * @param oYxLiveShopReportDTO
    * @return Page
    
    @ApiOperation(value ="管理员查询店铺被举报记录",notes = "此接口用于管理员查询店铺被举报记录")
    @ApiResponses({@ApiResponse(code = 200,message = "OK",response = YxLiveShopReportEntity.class),})
    @PostMapping("/managerQuewryLiveShopReportPage/{currentPage}/{pageSize}")
    public BaseResult managerQuewryLiveShopReportPage(HttpServletRequest httpRequest,@PathVariable int currentPage,@PathVariable int pageSize,@RequestBody LiveShopReporManagerQueryDTO oLiveShopReporManagerQueryDTO)
    {
        return oYxLiveShopReportService.managerQuewryLiveShopReportPage(httpRequest,currentPage,pageSize,oLiveShopReporManagerQueryDTO);
    }**/
    /*** 
    * 用户查询举报记录
    * @param oYxLiveShopReportDTO
    * @return List<YxLiveShopReportEntity>
    
    @ApiOperation(value ="用户查询举报记录",notes = "此接口用于用户查询举报记录")
    @ApiResponses({@ApiResponse(code = 200,message = "OK",response = YxLiveShopReportEntity.class),})
    @PostMapping("/userQuewryLiveShopReportPage/{currentPage}/{pageSize}")
    public BaseResult userQuewryLiveShopReportPage(HttpServletRequest httpRequest,@PathVariable int currentPage,@PathVariable int pageSize,@RequestBody @Valid LiveShopReporUserQueryDTO oLiveShopReporUserQueryDTO)
    {
        return oYxLiveShopReportService.userQuewryLiveShopReportPage(httpRequest,currentPage,pageSize,oLiveShopReporUserQueryDTO);
    }**/
    /*** 
    * 自定义统计店铺被举报表
    * @param oYxLiveShopReportDTO
    * @return int
    
    @ApiOperation(value ="自定义统计店铺被举报表",notes ="此接口用于自定义统计店铺被举报表记录条数")
    @PostMapping("/selectYxLiveShopReportCount")
    public BaseResult selectYxLiveShopReportCount(@RequestBody YxLiveShopReportDTO oYxLiveShopReportDTO)
    {
        return BaseResult.success(oYxLiveShopReportService.selectYxLiveShopReportCount(oYxLiveShopReportDTO));
    }**/
}
    

